package com.adam.zk.service.impl;

import com.adam.zk.service.DubboService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

@Component
@Service
public class ProviderServiceImpl implements DubboService {
    /**
     * Gets phoneNum.
     *
     * @param phoneNum the phoneNum
     * @return the phoneNum
     */
    @Override
    public String getPhoneNum(String phoneNum) {
        return "ZK provider getPhoneNum: "+ phoneNum;
    }

    @Override
    public int getTotal(int total) {
        return total;
    }
}